package com.qmctl.rest.bean.deliveryorderconfirm;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="package")
public class PackageClazz{
  private String logisticsName;
  private String expressCode;
  private String packageCode;
  private String length;
  private String width;
  private String height;
  private String weight;
  private String volume;
  @XmlElementWrapper(name="packageMaterialList")
  @XmlElement(name="packageMaterial")
  private List<PackageMaterialClazz> packageMaterials;
  @XmlElementWrapper(name="items")
  @XmlElement(name="item")
  private List<ItemClazz> itemLst;
  PackageClazz(){
	  
  }
  public String getLogisticsName(){
    return logisticsName;
  }
  public void setLogisticsName(String sLogisticsName){
    logisticsName = sLogisticsName;
  }
  public String getExpressCode(){
    return expressCode;
  }
  public void setExpressCode(String sExpressCode){
    expressCode = sExpressCode;
  }
  public String getPackageCode(){
    return packageCode;
  }
  public void setPackageCode(String sPackageCode){
    packageCode = sPackageCode;
  }
  public String getLength(){
    return length;
  }
  public void setLength(String dLength){
    length = dLength;
  }
  public String getWidth(){
    return width;
  }
  public void setWidth(String dWidth){
    width = dWidth;
  }
  public String getHeight(){
    return height;
  }
  public void setHeight(String dHeight){
    height = dHeight;
  }
  public String getWeight(){
    return weight;
  }
  public void setWeight(String dWeight){
    weight = dWeight;
  }

  public void setItems(List<ItemClazz> clazzItems){
	  itemLst = clazzItems;
  }

  public void setPackageMaterialList(List<PackageMaterialClazz> clazzItems){
	  packageMaterials = clazzItems;
  }
  public String getVolume() {
		return volume;
  }
  public void setVolume(String volume) {
		this.volume = volume;
  }	  
  
  public PackageClazz(com.qmctl.rest.entity.PackageInfo beanClazz){
  
    logisticsName = beanClazz.getLogisticsName();
    expressCode = beanClazz.getExpressCode();
    packageCode = beanClazz.getPackageCode();
    length = "";//beanClazz.getLength();
    width = "";//beanClazz.getWidth();
    height = "";//beanClazz.getHeight();
    weight =""; //beanClazz.getWeight();
   // volume = beanClazz.getVolume();
    //packageMaterialList = beanClazz.getPackageMaterialList();
    //items = beanClazz.getItems();
  }

}
